package cn.bdqn.mapper;

import cn.bdqn.domain.OrderForm;

import java.util.List;

/**
 * 订单配货表
 * @author dkj
 */
public interface OrderFormMapper {


    /**
     * 根据id查询
     * @param id
     * @return
     */
    OrderForm selectByPrimaryKey(Integer id);


    /**
     * 新增一个对象
     * @param orderForm
     */
    public void insertOrderForm(OrderForm orderForm);


    /**
     * 根据订单id查询 分页
     * @param orderId
     * @return
     */
    public List<OrderForm> selectByOrderId(Integer orderId);


    /**
     * 更新
     * @param orderForm
     */
    public void updateOrderFrom(OrderForm orderForm);


}
